Edit button in preview (js only, back works)