Fix resize bug; update modals