fixed closing mainWindow if cancel button was pressed in saveDialog
fixed closing mainWindow if cancel button was pressed in saveDialog

iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal