changed modal to appear instantly