bugid-96146: Share Toolbar: Email functionality:clicking close button, outside of modal and send button will refresh page for logged in users