Alerts the user that they may lose unsaved changes when attempting to close the Drupal overlay modal.