Add jquery dialog instead of viewdoc (closes #3888)