title: Get value from Modal Window in WPF
body: <p>I have a problem in WPF. I have window which should be displayed as modal window. It has three buttons and returns enum value(has public property of MyEnum type). Two buttons should return enum value as result from window without closing it. Third button should close window.
  How can I achieve returning value from modal window without closing it?</p>
  
  <p>regards</p>