Fix toolbar settings modal bug