Run command return from dialog