Fix confirmation dialog when exiting editor (#1756)
Merge pull request #1759 from pculture/gh-1756

Fix confirmation dialog when exiting editor (#1756)