Popup jump fix backup

Removed the timer that was used to give the popup enough time to apply its styles as the styles are saved externally so it will load faster. Added setLoadingState function to the generic popup

Will be tested as part of https://github.com/A24Group/Triage/pull/4526

issue A24Group/Triage#4583