adds a "dismiss" link to the lower-right of the error/help dialogs

we had multiple bug reports that the error/help dialog could not be closed under certain circumstances, due to it covering the error or being otherwise inconveniently placed. This pull request adds an in-dialog  "dismiss" link that hides the error/help dialog again, so that people can always close it, without needing to click anywhere outside the dialog.