Edit now corrected (was using part of best_in_place) and flash messages got a greater z-index