Added ability to toggle extend button text between an open and a close message.