jQuery youtube dialog hander