added preview button.