Fixed routing error for modal close.