Fixed bug that allows the user to open more than one publishing window at the same time.