Fixed edit button.
Added stub for preview.