authorization modal fixes