add inline loading indicator