Adding new method to show overlay

added a new method to show overlay, this is much simpler method which
uses Dialog to show overlay, it will work in fragments as well.