add 'display' parameter to be able to create long alert with setAlert