added a page settings button instead of publish if there is no title

fixes #2704