Implementing popup warning if no items are selected

This fixes issue #4767 by implementing a popup to warn if no items have been selected.

The alert box should be displayed for Mark as Read & Mark as Unread on Messaging page.