JBIDE-18650 - Forge wizard window isn't focused after command selection

JBIDE-18650: Only execute the Linux specific part if visible==true