Fix gcylc task insertion (stop cycle was ignored).


The "insert task" dialog was being destroyed before the stop cycle was extracted from its entry widget.

@benfitzpatrick - please review.