I open a popup and allow the user to save some information to a database and
then close the popup. How do I then use the fact that they saved this
information and closed the popup to enable a button in the main browser
window (from which the popup was opened)?