Removed deprecated function .activateTab from modal controller.