making dropdown work with html inside buttons