adding clear data on preview modals