Done.... 

protected String createActionScript(final String markupId, final ModalAction.Action action) {
    	return JQuery.$("#"+markupId).chain(ModalAction.action(action)).get();
    }

To be honest I do not find this "language" is clearer than it was before. WiQuery also had a similar idiom for creating queries... I do not think it ever chatched much with users... And I remember tehre was some talk about standardizing this on wicket or wicket-stuff.