Added feature to allow passing array of modal IDs to close. And added tab/title title message.