fixed packages not being applied on dialogs