accept alert after click submit in share box