NXP-11235: more fixes on duplicate action ids (do not display hidden fancy box forms at all if the corresponding action is not clicked) and avoid calling actions twice