Some styling things and do not close window if no relation selected