modal code in partial files