PN-6992: Appliying refactor of the WidgetModal mixin. The internal modals bean counter should now keep track of all modals, regardless of sandbox. Manual test included.