Lock toolbars while popups pointing to them are open

Closes #46, refs #49.