onClose option for account-settings-view feature

Hi,

I’m currently working on a feature where there is an editable state inside the account-settings-view. I thought it would be nice to have a way to prevent the account-settings-view from closing when we’re in the middle of editing by showing a modal or an alert to prevent data loss if the user accidentally clicks outside the dialog.

Thank you,

Michael Le

Thank you @michael.le for the request!