Implemented BlogPost cancel button functionality