fixed PrimerDesignRulesDialog so that it can be visible while working on different window