fixed saving issue with Escape key in mapmaker

Signed-off-by: jensenr30 <jensenr30@gmail.com>