An interacting dark energy model in a non-flat universe