Refactor Form Preview and Study Preview/Publish.