fixed bug with resources new route
updated flash notices to be within overlays