webadmin: Saving a dialog pressing ENTER inconsistent with clicking OK

When clicking on OK button (or any other footer button) the view is
flushed before the command is executed.
Pressing "ESC" or "ENTER" should be consistent with clicking the
footer button "CANCEL" or "OK".

Change-Id: Iaf0e2d0de5f905af13d99eec5f7403bb72b8f02c
Bug-Url: https://bugzilla.redhat.com/1059578
Signed-off-by: Alona Kaplan <alkaplan@redhat.com>