rem: WMBreakModalLoop(WMWidgetScreen(panel->defBtn));
add: WMBreakModalLoop(WMWidgetScreen(panel->win));
context: endedEditingObserver(void *observerData, WMNotification *notification){    WMInputPanel *panel = (WMInputPanel*)observerData;        switch ((int)WMGetNotificationClientData(notification)) {     case WMReturnTextMovement:	if (panel->defBtn)	    WMPerformButtonClick(panel->defBtn);	break;     case WMEscapeTextMovement:	if (panel->altBtn)	    WMPerformButtonClick(panel->altBtn);	else {	    WMBreakModalLoop(WMWidgetScreen(panel->defBtn));	    panel->result = WAPRDefault;	}	break;     default:	break;    }}