[ticket/12271] Decouple dropdown header and footer from #notifications_list

PHPBB3-12271
Merge pull request #2128 from nickvergessen/ticket/12271

[ticket/12271] Decouple dropdown header and footer from #notifications_list