send_modified must wait the current event to be finished to call get_value

If current event is not finished, in most cases the comparison between the two
get_value calls is always false.

review1016002
Set value before validate record in button click

issue3322
review1022002
Test if widget child is still there before using it

issue2867
review1023002