fix return to editor problem in firefox: https://bugzilla.redhat.com/show_bug.cgi?id=1006063#c14

Fix issue mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=1006063#c14