fixes hanging modal screens
checks for empty aliases before adding new alias