replaced the way to dismiss the planvc