I'm using Ubuntu 12.04 with a second screen. The laptop screen is where I do most of the work and the second screen is mostly for displaying documentation and things like that. That's why it's very annoying when dialogs appear on the external screen even though the program that triggered the dialog is displayed on the laptop screen.
Is it possible to fix this annoying behaviour? Ideally dialogs should be displayed on the same screen as their parent window, but an acceptable workaround would be to declare my laptop screen as the "primary" screen and show all new dialogs there.