JBIDE-14312 Add data-rel="close" option to New Button/Link wizards

Option data-rel=close is added. Test is added.