remove self from being a delegate after dismissed