Here is my code. I am using filter to restrict the item types and successful in the attempt.but not for local copies and localized items.
var filter = {
conditions:
{
InclLocalCopies: false,
IsLocalized: false,
ItemTypes: [$const.ItemType.COMPONENT],
ShowNewItems: false
}
};
var rootId = (window.dialogArguments && window.dialogArguments.publicationId) ? window.dialogArguments.publicationId : "";
var self = this;
p.ItemPopup = $popup.create(
$cme.Popups.ITEM_SELECT.URL.format(rootId),
$cme.Popups.ITEM_SELECT.FEATURES, { filter: filter});