fixed the bug of modal plugin, beyond bootstrap3