removing tools and fixing the stacked modal