Add preview action

Shows the information in the preview window.