bug fix for ribbon on modal page