add loading text attribute to dialog buttons