DEBUG add a wait for element before clicking on preview