Redesigned Scriptor dialog to use dialog commponents instead of pure html elements