changed the event to which parent input reacts in the dialogs
added some modifications to qtbind