Don't discard changes when mashing the escape key