templates updated with friend selector dialog box