It might be a good idea to use an actual debugger to check whether a method is called or not. Based on the provided information it is hard to tell why the message box doesn't appear.