Modal in a certain state to call it in this state from a menu?

is it possible to put a modal in a certain state (when pressing A for instance) in a menu to call it in this state?

ok I did it creating a boolproperty false and if this property is true do something in the modal then I call the operator in the menu like this.

col.operator_context = ('INVOKE_DEFAULT')
op = col.operator("my.operator", text="blabla")
op.bool_prop = True