Add test for registeration modal's closing