how do you make the ADD Modifier Popout like this when Hotkey is Press

Hi again since no one answered this one at other treads i might ask it again here i hope it was the right section .

Reason :

i really want to organize my workflow as i already setup all my CTRL as a Popout Call Menu or Context Menu and i want to assign Hotkey for this one as well so the workflow will be quickly and i want to recenter the text because of poor eyesight when reading text… as a tablet user it will definitely reduce clicks

thank you for answers

so you want a dropdown that opens the modifier widget?

yes i want to know if its possible instant popout like redo last … have similar animation

i have alternative method I tried this method but find it not productive because it requires 2 click away
http://i.imgur.com/eoA7e7d.png

This works and will affect the current object:

import bpy

def draw_func(self, context):
    layout = self.layout
    layout.operator_enum("object.modifier_add", "type")


bpy.context.window_manager.popup_menu(draw_func)

Long version:

import bpy



class SimpleCustomMenu(bpy.types.Menu):
    bl_label = ""
    bl_idname = "OBJECT_MT_simple_custom_menu"


    def draw(self, context):
        layout = self.layout
        layout.operator_enum("object.modifier_add", "type")




def register():
    bpy.utils.register_class(SimpleCustomMenu)


def unregister():
    bpy.utils.unregister_class(SimpleCustomMenu)


if __name__ == "__main__":
    register()


    # The menu can also be called from scripts
    bpy.ops.wm.call_menu(name=SimpleCustomMenu.bl_idname)

thank you so much it was working perfectly
i was to giveup because no one answered in other thread i thought not possible

i really appreciate your help thank you again