Added block getting executed before closing the menu

Added block getting executed before closing the menu. 
Works just like the closeCompletionHandler but before the will menu close.