Finish edit post functionality