ui: added class 'minimized' instead of 'hide' on modals