Added a custom config binding to set whether modals or open or not