Toggle preview & publish buttons. Closes #301. Closes #305.