Added preview page for editing posts