Opening preference dialog takes more time than expected

Code to replicate:
```java
MavenPreferencesDialog d = new MavenPreferencesDialog();
d.open();
```
There are probably more general cases