Chrome Extensions: How to make a docked window instead of the popup?

I would like to provide my extension with a window that is docked to the right when my pageAction or browserAction is clicked. This is similar to the DeveloperTools which opens up beside the current page and pushes the page to the side.

thanks