I am trying to see if there is a way to create a custom drag handle on the title bar. I am trying to to do this, because I have a textbox and a search button on the titlebar as shown and I don't want to put the dock in non-draggable mode to search type in the textbox and click the button. One way I accomplished this is by adding some javascript to disable the draggability when typing in the text box and hovering over the button. However, this is not foolproof. So, I am wondering if there is a better solution to this without having a button like you all do in your examples to put the dock in non-draggable mode. Also how do you actually center something in the titlebar, because when I added the custom template my title disappeared!