Steps to reproduce:
- Create dashboard and add as much widgets as necessary to fulfill it.
- Try to add one more widget.
- Observe warning message in widget configuration dialog: "Cannot add widget: not enough free space on the dashboard.".
- Observe that "Add" button is still active
"Add" button is enabled.
"Add" should be disabled like in Zabbix 4.4.