gtk: Handle relevant signals properly from the dialogs

"delete-event" signal: if not handled, it will lead to widget destruction.
Thus agent dialogs cannot reappear (they are instanciated only once
through the builder). For settings dialogs it will not cleanup properly.
"response" signal: if not handled, agent dialogs will not call the necessary
cancellation on connman side.

Reported by Jeff Zheng