title: Modal Dialog in WPF
body: <p>Here is my problem: I am migrating an application from Windows Forms to WPF, but I am totally new in WPF technology. </p>
  
  <p>I have been lucky creating a ribbon also have been able to add some elements to it, but right now I am struggling to create a modal dialog. </p>
  
  <p>How can I achieve this? I have already created all the design of the dialog, but I cannot get it open as a modal window.</p>
  
  <p>Besides, since this application has to be developed under MVVM pattern, where could I place that code? According to what I've read, that code has to be place in the view class, am I right?.</p>
  
  <p>Thank you in advance.</p>