added method to dismiss from the popup itself