[Fixes #46297483] Document selection mode checkbox is now working properly.