Fix #17106 : Fix modal aspect of messageboxes