Prevent event propagation when hitting "enter" with in the post-settings-menu

fixes #3516