Settings: Port to AvatarButton and fix OpenFileDialog lifespan
The dialog won't show again after being closed first time, so we need to dynamically destroy it on both accept and reject. It helps clear out any state on its way.
The dialog won't show again after being closed first time, so we need to dynamically destroy it on both accept and reject. It helps clear out any state on its way.