Add favorites support for add component dialog.