Implement a.close-panel-on-click handler for AppView