Adding feature to open diagrams in new tabs
Fixing bug in links to open diagrams