Fix for discarding a post in non-visual editor.

Fixes: https://github.com/wordpress-mobile/WordPress-iOS-Editor/issues/176

/cc @diegoreymendez @sendhil 

I really like how you split this up.  Very nice :+1: .