1. Closing Behavior
    1. On new, when nothing has been changed, it just closes
    2. On edit, when nothing has been changed, it just closes
    3. On new, when something has been changed, it asks to save or leave
      1. save saves and closes
      2. leave cancels and closes
  2. Background behavior
    1. Click on X and click on background behaves the same
    2. Background reacts to click
    3. Background does not react to mouse-up (so selecting a text with the mouse in the dialog and letting go of the mouse on the background does not ask for closing)
    4. Dropping a file on the background has no effect
  3. Close with Esc
    1. Esc behaves the same as click on X in all ways