Simplified javascript for displaying the help dialog so that it doesn't duplicate dom elements and their ids