Fix multiple share dialog using unbind in javascript