custom dialog location in the window