remove unneeded modal