Instead of passing every argument in the right order, pass the entire
model/event object to the context menu functions. This is less copy
pasta of code and the order of the args is now less likely to break in
the future.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>