small fix when testing SVY-6772 the returned boolean should just be true
when the controller is not the expected controller.
Else when pressing back this would return false and add() on the
mainpage is not called
SVY-6772 Webclient deadlocks when user clicks browser history buttons

prevent executing of events when the page is rollbacking itself (undo,
browser back happend).