added listener method to BlockUI