Inherit from NSObject so elements can be the target of observations. Need this so I can hide a popover when the app is put into the background.