LPS-42334 Properly escape Liferay.Util.openWindow & Liferay.StagingBar.updateBranch

Pull commit for plugins: https://github.com/brianchandotcom/liferay-plugins/pull/2707