Nasty working imlementation of on :action