Added the "preview" action and began its implementation.