Fixed issue #2230: First click on order dialog is ignored