add id and default title for buttons