Fix handling of 'Add Text' button