disabling buttons

if the post has been edited and not saved, pretty janky at the
  moment