Remove unnecessary modal.