Toast or simliar component that returns something on close

I’d like to create a ‘advanced settings’ popup to keep my main dashboard clean from rarely used settings.
To do so, I though of a dbc.toast component with some inputs from dcc.Dropdown, dcc.RadioItems and the like and a OK dbc.Button.
When clicked, the button would fire a callback that applies the inputs to some function where they are used.
However this seems quite laborious. Is there a smarter way to achieve this?