A near-field actuated optical nanocavity