Fixed bug where preview plugin dialog didn't handle relative urls properly.