Revert "Merge pull request #12150 from borjasalguero/oslo_actionmenu"

This reverts commit c0eda140451672f78ecb7ebc3e4c043a8c5870ad, reversing
changes made to 2257367510f87474159317ca3d9c59ee1835df05.

Reverting because it is failing one unit test