(bug 45109) Error tooltip still visible after changing site

Also reload the page if the user closes the dialog using the
X at the top right or using Esc after the changes have been
made instead of just closing the dialog.
Minor changes as I was on it.

Change-Id: Ifb97819ba815f39cb48d5aed2e567d39ebf05388
Merge "(bug 45109) Error tooltip still visible after changing site"