adds separate flash for modal so they don't interfer