preferences: add close (without saving) button