fixed modal open/close issue on add new email