disable button if no title is present