Adds animation on cancel button clicked. Fixes different bugs
Adds full ujs to creating new posts, including validations on input lengths, cancel and post buttons