dialog: Close when pressing the back button
Close the dialog instead of destroying it when clicking the back button. This is the same behavior as when pressing escape or clicking the close button and allows the dialog to be reused as some applications like to do.
Fixes #70 (closed)
Edited by Adrien Plazas