Raphael Onofre, please note what it says on the title page for this forum:
We're all here to learn, so when responding to others, please focus on helping them discover their own solutions, instead of simply providing answers.
If Lavneet Sharma looks in the API documentation and finds the return type of the input dialogue is a Rhubarb object, he will remember for ever. If you simply give a complete answer, he might never learn anything.
Don’t be annoyed with me, but I am pulling rank and deleting your post for a day or two.