Confirm quit when an editor panel is open.

Closes #280. Also changed the confirmation dialog so that the quit can
be cancelled, rather than forcing load order changes to be applied or
cancelled before quitting.