correct back button behaviour from preview