Hello Sayali,
For a similar use case we used the following widget:
pop up menu
https://marketplace.mendix.com/link/component/115826
It activates and show a little pop up where you can add your custom content.
Hope this helps
Good luck!