Change popout handling.

Change-Id: I78acf0de7fab0f34719115a01b9a48525848f2d0
Reviewed-on: http://gerrit.dmdirc.com/3810
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>