Redesigned preview button in xmleditor2