pass async arguemnt when invoking input panel