HUE-1028 [core] Visual feedback on actions that are not of immediate execution

Every click on btn-primary and btn-danger will put the button/input in the loading status