Building a webpanel in jira.agile.board.tools

Hi, I am building a dropdown in the location jira.agile.board.tools using a web panel and ACE. I am showing some data and that works fine, but I also want to to have a dropdown inside the iframe where, when I select an item (numeric fields), then the calculated data changes. My problem is that I cannot have the dropdown to stay open, whenever I click inside it it closes down. I am clueless, help appreciated!

I have tried this module and had the same problem, therefore dropped the idea to use it