Prompt for verification if the user tries to close the table while in edit mode.