New Preview Dialog

New Preview Dialog integrate and reverted the modal dialog for awhile