Close dialog when zpool is detached
I'm unsure if this is necessarily a bug or a feature, but it seems the current behaviour is unintended. When one goes to detach a pool, the dialog does not close after detachment, instead after the "Please wait" dialog finishes, the first dialog to confirm detachment still persists and the user must click "Cancel". Considering the only options are the two checkboxes, "Detach" and "Cancel," it seems unnecessary to keep the dialog open. I doubt the user is going to detach the now detached pool.