Ask for saving changes before opening recent project

Fixes #1065
Merge pull request #1250 from Lukas-W/stable-1.1-iss1065

Ask for saving changes before opening recent project