Fix unsaved workspace message on exit

Signed-off-by: Kirill Zotkin <kirillzotkin@gmail.com>