ensures loader bar is relative in modals/dialogs