Created new custom event for modalBar to handle "Enter" key resolving issue #1