split modal into it's own file