Centralized notification display logic in one function. Notification to
be shown when there's a request error and user has enabled 'Show All
Notifications' option. Close non critical notifications automatically
after 10 seconds. Prevent simultaneous opening of multiple dialogs.