Fix for bug GWT-621 where modal was not acting correctly in the toolbar.