Set default text for the close button if nothing is passed. Updated tests and API docs. references #5582