finished the button stuff for publishing. Fixed resume modal.