change close button in active state (bug 979122)
Merge pull request #528 from dethe/fix_active_modal_button

change close button in active state (bug 979122)