add loader for modal buttons