NXP-11142: use document actions widget types not depending directly on currentDocument