ToolForm: Add wait modal and error modal