Prevent multiple flash bags and for for ajax requests