refactor site tree preview dialog into a backbone view