ui: fixed modals when no previous settings available