close dialog button + remove preview