[ticket/11947] Notification link fixes

Allow clicking child elements of link that toggles notification popup

PHPBB3-11947