Fix window after show errors

Related to #11812
Ext.window.doLayout() fixes issues when horizontal scrolling is shown after vertical scrolling show. After adding error messages or other actions after submit.