Got the loading popup working