AreaViewer-related optimizations and viewer will be automatically closed
together with the ARE resource
Added popup listener support to ButtonPopupWindow component