Attribute menu will now close when the user presses save.  Fixed a bug causing 'toggleAttributeMenu' to behave incorrectly the first time it was called.