When an action is brought in a court of improper venue, the court may dismiss the action, or in the interest of justice transfer it to a court of proper venue.