SVY-7559 Problems with modal dialogs in Web Client

just reorder the action buffer so that all actions based on the
divDialog that is closed are done first.