[gui.qt] only show save button when saving is possible
[gui.qt] do not save if user hits cancel