added preview to post edit