open pattern in sample tab