Added a preview button.