Fix error message dialog parameter order

This is for #9368 

Simple fix we should get in for 0.44.