I´ve implemented in the notification bar a p:datatable with some actions (read, unread) button...
Currently the button is working and the function is called, but the notification panel is closed as soon I will click the mouse...
Here a screeshot:
- The red and green (in the option columns) are my action buttons
- As soon I will click on of the them, the whole notification panel will be closed...

The panel will be closed also when I try to sort the datatable...
How can this be fixed? I guess something in the layout.js file?