Handle mid-install resets

This fixes some UI nastiness when you abort an extension install and then try and install something else.
The reset ensures that if the modal is closed everything gets reset to it's original state.