oledlg: Only send the end dialog msg if the button is actually clicked.