just trieded to invoke the method on popup click.