I followed the answer here to move "other" windows to a particular tag. How do I escape a window from picking up this rule, ie, how do I get the window to show on the current tag?
I just spent some "quality" time figuring this out for Firefox dialogs yesterday. My main browser windows all go to . But when I hook up an external monitor, send some browser windows to , various Firefox dialogs still pop up on . This is a problem when monitor 1 has another tag active - then you don't even know there's a dialog waiting for input on  until you remember why the browser on  doesn't respond to anything.
awful.tag.getidx() returns the current tag.