KingTomatoe & Codemastr: This doesn't stop the dialog from closing then if the [X] or Escape is clicked/pressed...