fix close without saving confirmation dialog

Signed-off-by: Blaise Fonseca <blaisefonseca@hotmail.com>