Issue #1134378 by rwohleb: Open modal when using modal display ajax command if it was not already open.